package org.yelongframework.yaml.factory;

import java.util.Map;

import org.yelongframework.yaml.YamlMap;

/**
 * {@link YamlMap}工厂
 * 
 * @since 1.0.0
 */
public interface YamlMapFactory {

	/**
	 * 创建yaml映射
	 * 
	 * @return yaml映射
	 */
	YamlMap create();

	/**
	 * 创建yaml映射
	 * 
	 * @param map 映射
	 * @return yaml映射
	 */
	YamlMap create(Map<String, Object> map);

}
